<include file="Public:headersmall"/>
<style>
.center{width:1000px;margin:0 auto;}
.goods_pic{margin:0 auto;padding:5px;border:1px solid #dddddd;width:130px;height:130px;text-align:center}

.catt a {border:#c8c9cd 1px solid;text-align:center;background-color:#fff;margin-left:5px;margin-top:6px;padding-left:10px;padding-right:10px;display:block;white-space:nowrap;color:#000;text-decoration:none;float:left;padding:3px;}
.catt a:hover {border:#ff6701 2px solid;margin:-1px;margin-left:4px;margin-top:5px;}
.catt a:focus {outline-style:none;}
.catt .cattsel {border:#ff6701 2px solid;margin:-1px;background:url("__APP__/statics/choose_bg.jpg") no-repeat bottom right;margin-left:4px;margin-top:5px;}
.cattsel {font-size:16px;font-weight:bold;color:#ff6701;background-color:#ff6701;}
.catt .cattsel a:hover {border:#ff6701 2px solid;margin:-1px;background:url("__APP__/statics/choose_bg.jpg") no-repeat bottom right;}
.catt{font-size:16px;}
.catt input{display:none;}
</style>
<div class="center">
<form method="post" action="__URL__/dogoodComm/?order={$order.order_id}">
<volist name="order_item" id="order_item">
<div style="border:1px solid #dddddd;margin-top:20px;padding:10px;">
<table border="0" width="100%">
	<tr>
		<td rowspan="3">
		   <div class="goods_pic"><a href="__APP__/Goods/item/?id={$order_item.goods_id}" target="_blank"><img alt="{$order_item.goods_name}" src="__APP__/{$order_item.m_pic}" width="130px"></a></div>
		   <input type="text" name="product[]" value="{$order_item.product_id}" style="display:none">
		</td>
		<td>
		     <input type="radio" value="a" checked name="level{$order_item.product_id}"><img alt="很满意" src="__APP__/statics/a.jpg">&nbsp;&nbsp;&nbsp;&nbsp;
			 <input type="radio" value="b" name="level{$order_item.product_id}"><img alt="一般" src="__APP__/statics/b.jpg">&nbsp;&nbsp;&nbsp;&nbsp;
			 <input type="radio" value="c" name="level{$order_item.product_id}"><img alt="不满意" src="__APP__/statics/c.jpg">
		</td>
	</tr>
<!--
	<tr>
		<td>
			<div class="catt">
			<a style="width:50px;" onclick="changeAddr(this)" href="javascript:;">1<input  name="score{$order_item.product_id}" type="radio" value="1"/></a>

			<a style="width:50px;" onclick="changeAddr(this)" href="javascript:;">2<input  name="score{$order_item.product_id}" type="radio" value="2"/></a>
			<a style="width:50px;" onclick="changeAddr(this)" href="javascript:;">3<input  name="score{$order_item.product_id}" type="radio" value="3"/></a>
			<a style="width:50px;" onclick="changeAddr(this)" href="javascript:;">4<input  name="score{$order_item.product_id}" type="radio" value="4"/></a>
			<a style="width:50px;" onclick="changeAddr(this)" href="javascript:;">5<input  name="score{$order_item.product_id}" type="radio" value="5"/></a>
			</div>
        </td>
	</tr>
-->
	<tr>
		<td><textarea rows="4" name="comm[]" cols="60" style="padding:5px"></textarea></td>
	</tr>
</table>
</div>
</volist>

<div style="text-align:center;margin-top:20px"><input type="image" src="__APP__/statics/subcomm.jpg"></div>
</form>
</div>



<script>
//选择已经存在地址
function changeAddr(t) {
     t.lastChild.checked='checked';
     for (var i = 0; i<t.parentNode.childNodes.length;i++) {
            if (t.parentNode.childNodes[i].className == 'cattsel') {
                   t.parentNode.childNodes[i].className = '';
            }
      }
          t.className = "cattsel";
		  countShip();
		  //countPay();
          $("#newaddr").empty();
}

	//去除虚线
    $('a,input[type="button"],input[type="submit"]').bind('focus',function(){               
	     if(this.blur){                      
		 this.blur();                
		 };        
    });
</script>
<include file="Public:footersmall"/>